package com.mj.domain;

/**
 * Created by SXY on 2016/1/6.
 */
public class RuleBean {
    private int rule_id;
    private int action_id;
    private String rule_type;
    private String rule_value;
    private String timestamp;
    private int status;
    private String hbase_table_name;
    private String time_type;
    private String interval_time;
    private String cols;
// 设置默认值
    public RuleBean() {
        this.status = 1;
        this.rule_type="value";
    }

    public int getRule_id() {
        return rule_id;
    }

    public void setRule_id(int rule_id) {
        this.rule_id = rule_id;
    }

    public int getAction_id() {
        return action_id;
    }

    public void setAction_id(int action_id) {
        this.action_id = action_id;
    }

    public String getRule_type() {
        return rule_type;
    }

    public void setRule_type(String rule_type) {
        this.rule_type = rule_type;
    }

    public String getRule_value() {
        return rule_value;
    }

    public void setRule_value(String rule_value) {
        this.rule_value = rule_value;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getHbase_table_name() {
        return hbase_table_name;
    }

    public void setHbase_table_name(String hbase_table_name) {
        this.hbase_table_name = hbase_table_name;
    }

    public String getTime_type() {
        return time_type;
    }

    public void setTime_type(String time_type) {
        this.time_type = time_type;
    }

    public String getInterval_time() {
        return interval_time;
    }

    public void setInterval_time(String interval_time) {
        this.interval_time = interval_time;
    }

    public String getCols() {
        return cols;
    }

    public void setCols(String cols) {
        this.cols = cols;
    }
}
